﻿<%@ Page Title="" Language="C#" MasterPageFile="~/NestedMasterPageSimple.master"  CodeFile="OrderComplete.aspx.cs" Inherits="OrderComplete" %>
<asp:Content ID="Conten12" ContentPlaceHolderID="NestedContent" runat="Server">

  <div class="steps">
    <ul>
      <li>STEP 1. 填寫資料</li>
      <li class="active">STEP 2. 確認資料</li>
      <li>STEP 3. 完成下單</li>
    </ul>
  </div>

  <div class="pink-column">
    <table>
      <tr>
        <th colspan="2" class="darker">收件人資料</th>
      </tr>
      <tr>
        <th>姓名</th>
        <td><asp:Literal ID="ltlReceiverName" runat="server"></asp:Literal></td>
      </tr>
      <tr>
        <th>電話</th>
        <td><asp:Literal ID="ltlReceiverPhone" runat="server"></asp:Literal></td>
      </tr>
      <tr>
        <th>地址</th>
        <td><asp:Literal ID="ltlReceiverAddress" runat="server"></asp:Literal></td>
      </tr>
      <tr>
        <th colspan="2" class="darker">購買者資料</th>
      </tr>
      <tr>
        <th>姓名</th>
        <td><asp:Literal ID="ltlBuyerName" runat="server"></asp:Literal></td>
      </tr>
      <tr>
        <th>電話</th>
        <td><asp:Literal ID="ltlBuyerPhone" runat="server"></asp:Literal></td>
      </tr>
      <tr>
        <th>地址</th>
        <td><asp:Literal ID="ltlBuyerAddress" runat="server"></asp:Literal></td>
      </tr>
      <tr>
        <th>發票公司抬頭</th>
        <td><asp:Literal ID="ltlBuyerCompanyTitle" runat="server"></asp:Literal></td>
      </tr>
      <tr>
        <th>統編</th>
        <td><asp:Literal ID="ltlBuyerCompanyID" runat="server"></asp:Literal></td>
      </tr>
      <tr>
        <th>手機條碼</th>
        <td><asp:Literal ID="ltlCellPhoneCode" runat="server"></asp:Literal></td>
      </tr>
      <tr>
        <th>捐贈愛心碼</th>
        <td><asp:Literal ID="ltlCharityCode" runat="server"></asp:Literal></td>
      </tr>
      <tr>
        <th>是否列印電子發票證明聯</th>
        <td><asp:Literal ID="ltlInvoicePrint" runat="server"></asp:Literal></td>
      </tr>
      <tr>
        <th>是否列印購物明細</th>
        <td><asp:Literal ID="ltlInvoicePrintDetail" runat="server"></asp:Literal></td>
      </tr>
    </table>

    <table class="info-right">
      <tr>
        <th colspan="2" class="darker">付款資料</th>
      </tr>
      <tr>
        <th>訂購日期</th>
        <td><asp:Literal ID="ltlOrderDate" runat="server"></asp:Literal></td>
      </tr>
      <tr>
        <th>付款方式</th>
        <td><asp:Literal ID="ltlPayType" runat="server"></asp:Literal></td>
      </tr>
      <tr>
        <th>付款金額</th>
        <td><asp:Literal ID="ltlPrice" runat="server"></asp:Literal></td>
      </tr>
      <tr>
        <th>抵購哩程</th>
        <td><asp:Literal ID="ltlMileSum" runat="server"></asp:Literal></td>
      </tr>
      <tr id="trCreditType" runat="server">
        <th>信用卡卡別</th>
        <td>
          <asp:Literal ID="ltlCreditType" runat="server"></asp:Literal></td>
      </tr>
      <tr id="trCreditNumber" runat="server">
        <th>信用卡卡號</th>
        <td><asp:Literal ID="ltlCreditNumber" runat="server"></asp:Literal></td>
      </tr>
    </table>
    <table class="info-right" id="tb_atm" runat="server" visible="false">
      <tr>
        <th colspan="2" class="darker">WebATM</th>
      </tr>
      <tr>
        <th>國泰世華銀行WebATM</th>
        <td>一旦您按下最下方的〝確定下單〞便進入國泰世華銀行WebATM付款網站！請您安心完成交易。</td>
      </tr>      
    </table>
  </div>
  <div class="control-links">
    <asp:LinkButton ID="lbtn_Next" runat="server" CssClass="pink-btn fl" OnClick="lbtn_Next_Click" OnClientClick="loading();">
          <img src="../Images/Icons/Complete.png" />確定下單
    </asp:LinkButton>
    <a href="OrderDetailAndPayment.aspx" class="blue-btn fr">
      <img src="../Images/Icons/Edit.png" />
      更改收件人或購買人資料
    </a>
    <a href="OrderSummaryAndAmount.aspx" class="blue-btn fr">
      <img src="../Images/Icons/Edit.png" />
      更改付款方式
    </a>
  </div>
  <div class="info-area">
    <asp:Label ID="lbl_Error_Message" runat="server" EnableViewState="false" ForeColor="Red" />
  </div>
  <div class="info-area">
    <h4>訂購須知</h4>    
      <asp:ListView ID="ListViewShopNote" runat="server">
        <ItemTemplate>
          <%--<asp:Label ID="lbl_Content" runat="server" />--%>
          <%#  ((dynamic)Eval("Content")).ToString() %>
        </ItemTemplate>
      </asp:ListView>    
  </div>
  <div style="display: none" class="popup-content">
    <div class="divMessageLightbox">
      <div class="notice">
        <h4><span id="spanMsg"></span></h4>
      </div>
     <%-- <div class="liner"></div>
      <div class="links">
        <a href="javascript:void(0);" class="btn cancelbtn">確 定</a>
      </div>--%>
    </div>
  </div>
</asp:Content>

